﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ArchiveAuthority.aspx.cs" Inherits="CentralOffice.WebClient.Archives.ArchiveAuthority" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>档案信息查看</title>
    <link rel="stylesheet" type="text/css" href="../theme/2/style.css" />
</head>
<body  class="bodycolor">
<asp:Literal ID="lblJavaScript" EnableViewState="false" runat="server"></asp:Literal>

    <div style="margin-top:10px;"><img src="../images/sys_config.gif" WIDTH="22" HEIGHT="20" align="absmiddle"><span class="big3">档案信息</span></div>
    <form id="form1" runat="server"><ajaxToolkit:ToolkitScriptManager runat="server" ID="sm" />
     <table class="TableBlock" width="98%" align="center">
<tr>
    <td class="TableData" style="width:100px;" >项目名称：</td><td class="TableData fontBold"><asp:Literal ID="lblName" runat="server"></asp:Literal></td>
    <td class="TableData" style="width:100px;" >档案类型：</td><td class="TableData fontBold"><asp:Literal ID="lblFileCategory" runat="server"></asp:Literal></td>
    
    </tr><tr>
    
    <td class="TableData" style="width:100px;" >档案号：</td><td class="TableData fontBold"><asp:Literal ID="lblFileNumber" runat="server"></asp:Literal></td>
    <td class="TableData" style="width:100px;" >密级：</td><td class="TableData fontBold"><asp:Literal ID="lblSecretLevel" runat="server"></asp:Literal></td>   
</tr>

<tr>
    <td class="TableData" style="width:100px;" >省份：</td><td class="TableData fontBold"><asp:Literal ID="lblProvince" runat="server"></asp:Literal></td>
    <td class="TableData" style="width:100px;" >城市：</td><td class="TableData fontBold"><asp:Literal ID="lblCity" runat="server"></asp:Literal></td>  
    </tr><tr>
    <td class="TableData" style="width:100px;" >序号：</td><td class="TableData fontBold"><asp:Literal ID="lblOrderNumber" runat="server"></asp:Literal></td>
    <td class="TableData" style="width:100px;" >合同号：</td><td class="TableData fontBold"><asp:Literal ID="lblContractCode" runat="server"></asp:Literal></td>   
</tr>
<tr>
    <td class="TableData" style="width:100px;" >档案关键字：</td><td class="TableData fontBold"><asp:Literal ID="lblKeywords" runat="server"></asp:Literal></td>
    <td class="TableData" style="width:100px;" >设计年份：</td><td class="TableData fontBold"><asp:Literal ID="lblDesignedYear" runat="server"></asp:Literal></td>
    </tr><tr>
    <td class="TableData" style="width:100px;" >结构形式：</td><td class="TableData fontBold"><asp:Literal ID="lblConstructForm" runat="server"></asp:Literal></td>
    <td class="TableData">存档日期：</td><td class="TableData fontBold"><asp:Literal ID="lblFiledDate" runat="server"></asp:Literal></td>
</tr>

<tr>
    <td class="TableData" style="width:100px;" >客户名称：</td><td class="TableData fontBold"><asp:Literal ID="lblCustomer" runat="server"></asp:Literal></td>
    <td class="TableData">联系人：</td><td class="TableData fontBold"><asp:Literal ID="lblContact" runat="server"></asp:Literal></td>
    </tr><tr>
    <td class="TableData" style="width:100px;" >电话：</td><td class="TableData fontBold"><asp:Literal ID="lblTelephone1" runat="server"></asp:Literal></td>
    <td class="TableData">地址：</td><td class="TableData fontBold"><asp:Literal ID="lblAddress" runat="server"></asp:Literal></td>
</tr>

<tr>
    <td class="TableData" style="width:100px;" >规模：</td><td class="TableData fontBold"><asp:Literal ID="lblScale" runat="server"></asp:Literal></td>
    <td class="TableData">设计阶段：</td><td class="TableData fontBold"><asp:Literal ID="lblDesignStage" runat="server"></asp:Literal></td>
    </tr><tr>
    <td class="TableData" style="width:100px;" >所属片区：</td><td class="TableData fontBold"><asp:Literal ID="lblBelongedTo" runat="server"></asp:Literal></td>
    <td class="TableData">项目经理：</td><td class="TableData fontBold"><asp:Literal ID="lblProjectManager" runat="server"></asp:Literal></td>
</tr>

<tr>
    <td class="TableData" style="width:100px;" >土建图纸：</td><td class="TableData fontBold"><asp:HyperLink ID="lblBuildingBlueprint" runat="server" Visible="false" ></asp:HyperLink></td>
    <td class="TableData">有权阅读者：</td><td class="TableData" >
    <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional" RenderMode="Inline"><ContentTemplate>
    <input type="text" id="txtBuildingBlueprintReadOnly" style="width:80%" name="txtBuildingBlueprintReadOnly" class="SmallStatic" runat="server" readonly="readonly" /><asp:HiddenField ID="txtBuildingBlueprint" runat="server" />&nbsp;<asp:LinkButton ID="LinkButton1" CommandName="BuildingBlueprint" runat="server" OnClick="btnShowPopup_Click" CssClass="orgAdd">选择</asp:LinkButton>
    </ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="btnOK" /></Triggers></asp:UpdatePanel>&nbsp;<a href="javascript:;" class="orgClear" onclick="$get('<%= txtBuildingBlueprintReadOnly.ClientID %>').value='';$get('<%= txtBuildingBlueprint.ClientID %>').value='';">清空</a>
    </td>
    </tr><tr>
    <td class="TableData" style="width:100px;" >电气图纸：</td><td class="TableData fontBold"><asp:HyperLink ID="lblElectricalBlueprint" runat="server" Visible="false"></asp:HyperLink></td>
    <td class="TableData">有权阅读者：</td><td class="TableData" >
  <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" RenderMode="Inline"><ContentTemplate>
    <input type="text" id="txtElectricalBlueprintReadOnly" style="width:80%" name="txtElectricalBlueprintReadOnly" class="SmallStatic" runat="server" readonly="readonly" /><asp:HiddenField ID="txtElectricalBlueprint" runat="server" />&nbsp;<asp:LinkButton ID="LinkButton2" CommandName="ElectricalBlueprint" runat="server" OnClick="btnShowPopup_Click" CssClass="orgAdd">选择</asp:LinkButton>
    </ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="btnOK" /></Triggers></asp:UpdatePanel>&nbsp;<a href="javascript:;" class="orgClear" onclick="$get('<%= txtElectricalBlueprintReadOnly.ClientID %>').value='';$get('<%= txtElectricalBlueprint.ClientID %>').value='';">清空</a>
     </td>
 
</tr>
<tr>
    <td class="TableData" style="width:100px;" >机械材料清单：</td><td class="TableData fontBold"><asp:HyperLink ID="lblMechanicalMaterialManifest" runat="server" Visible="false"></asp:HyperLink></td>
    <td class="TableData">有权阅读者：</td><td class="TableData" >
  <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional" RenderMode="Inline"><ContentTemplate>
    <input type="text" id="txtMechanicalMaterialManifestReadOnly" style="width:80%" name="txtMechanicalMaterialManifestReadOnly" class="SmallStatic" runat="server" readonly="readonly" /><asp:HiddenField ID="txtMechanicalMaterialManifest" runat="server" />&nbsp;<asp:LinkButton ID="LinkButton3" CommandName="MechanicalMaterialManifest" runat="server" OnClick="btnShowPopup_Click" CssClass="orgAdd">选择</asp:LinkButton>
    </ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="btnOK" /></Triggers></asp:UpdatePanel>&nbsp;<a href="javascript:;" class="orgClear" onclick="$get('<%= txtMechanicalMaterialManifestReadOnly.ClientID %>').value='';$get('<%= txtMechanicalMaterialManifest.ClientID %>').value='';">清空</a>
     </td>
 </tr><tr>
    
    <td class="TableData" style="width:100px;" >电气材料清单：</td><td class="TableData fontBold"><asp:HyperLink ID="lblElectricalMaterialManifest" runat="server" Visible="false"></asp:HyperLink></td>
    <td class="TableData">有权阅读者：</td><td class="TableData" >
  <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Conditional" RenderMode="Inline"><ContentTemplate>
    <input type="text" id="txtElectricalMaterialManifestReadOnly" style="width:80%" name="txtElectricalMaterialManifestReadOnly" class="SmallStatic" runat="server" readonly="readonly" /><asp:HiddenField ID="txtElectricalMaterialManifest" runat="server" />&nbsp;<asp:LinkButton ID="LinkButton4" CommandName="ElectricalMaterialManifest" runat="server" OnClick="btnShowPopup_Click" CssClass="orgAdd">选择</asp:LinkButton>
    </ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="btnOK" /></Triggers></asp:UpdatePanel>&nbsp;<a href="javascript:;" class="orgClear" onclick="$get('<%= txtElectricalMaterialManifestReadOnly.ClientID %>').value='';$get('<%= txtElectricalMaterialManifest.ClientID %>').value='';">清空</a>
     </td>
 
</tr>
<tr>
    <td class="TableData" style="width:100px;" >电气方案：</td><td class="TableData fontBold"><asp:HyperLink ID="lblElectricalSolution" runat="server" Visible="false"></asp:HyperLink></td>
    <td class="TableData">有权阅读者：</td><td class="TableData" >
  <asp:UpdatePanel ID="UpdatePanel6" runat="server" UpdateMode="Conditional" RenderMode="Inline"><ContentTemplate>
    <input type="text" id="txtElectricalSolutionReadOnly" style="width:80%" name="txtElectricalSolutionReadOnly" class="SmallStatic" runat="server" readonly="readonly" /><asp:HiddenField ID="txtElectricalSolution" runat="server" />&nbsp;<asp:LinkButton ID="LinkButton6" CommandName="ElectricalSolution" runat="server" OnClick="btnShowPopup_Click" CssClass="orgAdd">选择</asp:LinkButton>
    </ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="btnOK" /></Triggers></asp:UpdatePanel>&nbsp;<a href="javascript:;" class="orgClear" onclick="$get('<%= txtElectricalSolutionReadOnly.ClientID %>').value='';$get('<%= txtElectricalSolution.ClientID %>').value='';">清空</a>
     </td>
 </tr><tr>
 
    <td class="TableData" style="width:100px;" >整体方案：</td><td class="TableData fontBold"><asp:HyperLink ID="lblSystemSolution" runat="server" Visible="false"></asp:HyperLink></td>
    <td class="TableData">有权阅读者：</td><td class="TableData" >
  <asp:UpdatePanel ID="UpdatePanel5" runat="server" UpdateMode="Conditional" RenderMode="Inline"><ContentTemplate>
    <input type="text" id="txtSystemSolutionReadOnly" style="width:80%" name="txtSystemSolutionReadOnly" class="SmallStatic" runat="server" readonly="readonly" /><asp:HiddenField ID="txtSystemSolution" runat="server" />&nbsp;<asp:LinkButton ID="LinkButton5" CommandName="SystemSolution" runat="server" OnClick="btnShowPopup_Click" CssClass="orgAdd">选择</asp:LinkButton>
    </ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="btnOK" /></Triggers></asp:UpdatePanel>&nbsp;<a href="javascript:;" class="orgClear" onclick="$get('<%= txtSystemSolutionReadOnly.ClientID %>').value='';$get('<%= txtSystemSolution.ClientID %>').value='';">清空</a>
     </td>
</tr>

<tr>
    <td class="TableData" style="width:100px;" >效果图：</td><td class="TableData fontBold"><asp:HyperLink ID="lblDesignSketch" runat="server" Visible="false"></asp:HyperLink></td>
    <td class="TableData">有权阅读者：</td><td class="TableData" >
  <asp:UpdatePanel ID="UpdatePanel7" runat="server" UpdateMode="Conditional" RenderMode="Inline"><ContentTemplate>
    <input type="text" id="txtDesignSketchReadOnly" style="width:80%" name="txtDesignSketchReadOnly" class="SmallStatic" runat="server" readonly="readonly" /><asp:HiddenField ID="txtDesignSketch" runat="server" />&nbsp;<asp:LinkButton ID="LinkButton7" CommandName="DesignSketch" runat="server" OnClick="btnShowPopup_Click" CssClass="orgAdd">选择</asp:LinkButton>
    </ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="btnOK" /></Triggers></asp:UpdatePanel>&nbsp;<a href="javascript:;" class="orgClear" onclick="$get('<%= txtDesignSketchReadOnly.ClientID %>').value='';$get('<%= txtDesignSketch.ClientID %>').value='';">清空</a>
     </td>
 </tr><tr>
    <td class="TableData" style="width:100px;" >招投标文件：</td><td class="TableData fontBold"><asp:HyperLink ID="lblTenderDocumentation" runat="server" Visible="false"></asp:HyperLink></td>
    <td class="TableData">有权阅读者：</td><td class="TableData" >
  <asp:UpdatePanel ID="UpdatePanel8" runat="server" UpdateMode="Conditional" RenderMode="Inline"><ContentTemplate>
    <input type="text" id="txtTenderDocumentationReadOnly" style="width:80%" name="txtTenderDocumentationReadOnly" class="SmallStatic" runat="server" readonly="readonly" /><asp:HiddenField ID="txtTenderDocumentation" runat="server" />&nbsp;<asp:LinkButton ID="LinkButton8" CommandName="TenderDocumentation" runat="server" OnClick="btnShowPopup_Click" CssClass="orgAdd">选择</asp:LinkButton>
    </ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="btnOK" /></Triggers></asp:UpdatePanel>&nbsp;<a href="javascript:;" class="orgClear" onclick="$get('<%= txtTenderDocumentationReadOnly.ClientID %>').value='';$get('<%= txtTenderDocumentation.ClientID %>').value='';">清空</a>
     </td>
</tr>
<tr>
    <td class="TableData" style="width:100px;" >初设报告：</td><td class="TableData fontBold"><asp:HyperLink ID="lblPreliminaryDesign" runat="server" Visible="false"></asp:HyperLink></td>
    <td class="TableData">有权阅读者：</td><td class="TableData" >
  <asp:UpdatePanel ID="UpdatePanel9" runat="server" UpdateMode="Conditional" RenderMode="Inline"><ContentTemplate>
    <input type="text" id="txtPreliminaryDesignReadOnly" style="width:80%" name="txtPreliminaryDesignReadOnly" class="SmallStatic" runat="server" readonly="readonly" /><asp:HiddenField ID="txtPreliminaryDesign" runat="server" />&nbsp;<asp:LinkButton ID="LinkButton9" CommandName="PreliminaryDesign" runat="server" OnClick="btnShowPopup_Click" CssClass="orgAdd">选择</asp:LinkButton>
    </ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="btnOK" /></Triggers></asp:UpdatePanel>&nbsp;<a href="javascript:;" class="orgClear" onclick="$get('<%= txtPreliminaryDesignReadOnly.ClientID %>').value='';$get('<%= txtPreliminaryDesign.ClientID %>').value='';">清空</a>
     </td>
     </tr><tr>
    <td class="TableData" style="width:100px;" >其他附件：</td><td class="TableData fontBold"><asp:HyperLink ID="lblOtherDocumentation" runat="server" Visible="false"></asp:HyperLink></td>
    <td class="TableData">有权阅读者：</td><td class="TableData" >
  <asp:UpdatePanel ID="UpdatePanel10" runat="server" UpdateMode="Conditional" RenderMode="Inline"><ContentTemplate>
    <input type="text" id="txtOtherDocumentationReadOnly" style="width:80%" name="txtOtherDocumentationReadOnly" class="SmallStatic" runat="server" readonly="readonly" /><asp:HiddenField ID="txtOtherDocumentation" runat="server" />&nbsp;<asp:LinkButton ID="LinkButton10" CommandName="OtherDocumentation" runat="server" OnClick="btnShowPopup_Click" CssClass="orgAdd">选择</asp:LinkButton>
    </ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="btnOK" /></Triggers></asp:UpdatePanel>&nbsp;<a href="javascript:;" class="orgClear" onclick="$get('<%= txtOtherDocumentationReadOnly.ClientID %>').value='';$get('<%= txtOtherDocumentation.ClientID %>').value='';">清空</a>
     </td>
 
</tr>


<tr align="center" class="TableControl">
<td style="width:100px;" ></td>
    <td colspan="3" align="center">
            <asp:Button ID="btnSave" runat="server" Text="保存"  CssClass="BigButton" OnClick="btnSave_Click" OnClientClick="return clientCheck();" />
    </td>
</tr>

</table>





	<asp:Panel ID="pnlPopup" runat="server" CssClass="x-pne" style="display:none; width:460px;">
    <asp:UpdatePanel ID="updPnlDepartment" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
    
    <asp:HiddenField ID="txtSelectedObject" runat="server" />
    <asp:Button id="btnShowEdit" runat="server" style="display:none" />
    <ajaxToolKit:ModalPopupExtender ID="mdlDetailView" runat="server" 
        BehaviorID="detailView" 
        TargetControlID="btnShowEdit" 
        PopupControlID="pnlPopup" 
        CancelControlID="btnClose" BackgroundCssClass="modalBackground" 
        PopupDragHandleControlID="pnlDrag" />
        
    <asp:Panel ID="pnlDrag" runat="server" CssClass="corner-bg x-pne-lt x-pne-left">
        <div class="corner-bg x-pne-rt x-pne-right">
            <div class="corner-bg x-pne-t dragTitle">
                <div class="x-pne-btn" id="Div1" onclick="$find('detailView').hide();"></div>
                <div class="x-pne-caption font dragTitle"><span>请选择有权访问人：</span></div>
            </div>
        </div>
    </asp:Panel>

    <div>
    
        <div class="side-bg x-pne-l">
            <div class="side-bg x-pne-r">
                <div class="x-pne-c" style="WIDTH: 448px;">
					<div style="margin:10px;font-size:9pt;" class="wrapper">
					
<div id="div2" style="width:430px;height:300px; overflow:auto;">
<asp:TreeView ID="tvEmp" runat="server" EnableViewState="true" OnLoad="tvEmp_Load"></asp:TreeView>
</div>
                    <!-- 下面是确认按钮 -->
                    <div style="width:328px; margin-top:16px;">
                        <table  style="width:100%; margin-left:40px;">
                            <tr>
                                <td>
<div class="btn-side btn-bg"></div>
<div class="btn-body btn-bg" style="background-position: 0px 168px; width: 66px"><asp:Button ID="btnOK" runat="server" Text="  确定  " CssClass="font" OnClick="btnOK_Click" /></div>
<div class="btn-side btn-bg" style="background-position: 0px 189px"></div>

                                </td>
                                <td>
<div class="btn-side btn-bg"></div>
<div class="btn-body btn-bg" style="background-position: 0px 168px; width: 66px;"><asp:Button ID="btnClose" runat="server" Text="  取消  " CssClass="font" /></div>
<div class="btn-side btn-bg" style="background-position: 0px 189px"></div>
                                </td>
                            </tr>
                        </table>
                    </div>
                        
					</div>
                </div>
            </div>
        </div>

        <div class="corner-bg x-pne-lb x-pne-left">
            <div class="corner-bg x-pne-rb x-pne-right">
                <div class="corner-bg x-pne-b"></div>
            </div>
        </div>
        
    </div>
    
    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Panel>

<asp:updateprogress id="updateProgress"  runat="server">
    <progresstemplate>
        <div id="progressBackgroundFilter"></div>
        <div id="processMessage">正在处理数据，请稍等...<br /><br /><img alt="Loading" src="../images/loading_16.gif" /></div>
    </progresstemplate>
</asp:updateprogress>




    </form>
    
    <script type="text/javascript" >

        function OnTreeNodeChecked() {
            var ele = window.event.srcElement;
            if (ele.type == 'checkbox') {
                var childrenDivID = ele.id.replace('CheckBox', 'Nodes');
                var div = document.getElementById(childrenDivID);
                if (div == null) return;
                var checkBoxs = div.getElementsByTagName('INPUT');
                for (var i = 0; i < checkBoxs.length; i++) {
                    if (checkBoxs[i].type == 'checkbox')
                        checkBoxs[i].checked = ele.checked;
                }
            }
        }

        function clientCheck() {
        }
     
    
</script>
    
    
</body>
</html>
